package com.stupidzhe.vbreview.service.impl;

import com.stupidzhe.vbreview.dao.ProjectClassRecordMapper;
import com.stupidzhe.vbreview.domain.ProjectClassRecord;
import com.stupidzhe.vbreview.service.ProjectClassRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProjectClassRecordServiceImpl implements ProjectClassRecordService {

    private final ProjectClassRecordMapper projectClassRecordMapper;

    public ProjectClassRecordServiceImpl(ProjectClassRecordMapper projectClassRecordMapper) {
        this.projectClassRecordMapper = projectClassRecordMapper;
    }

    @Override
    public List<ProjectClassRecord> getListByProjectId(Integer projectId) {
        return projectClassRecordMapper.selectByProjectId(projectId, "1");
    }
}
